Optimal. Leaf size=60 \[ -\frac{\sqrt{b} \tan ^{-1}\left (\frac{\sqrt{b} \cosh (c+d x)}{\sqrt{a-b}}\right )}{a d \sqrt{a-b}}-\frac{\tanh ^{-1}(\cosh (c+d x))}{a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0742426, antiderivative size = 60, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19, Rules used = {3186, 391, 206, 205} \[ -\frac{\sqrt{b} \tan ^{-1}\left (\frac{\sqrt{b} \cosh (c+d x)}{\sqrt{a-b}}\right )}{a d \sqrt{a-b}}-\frac{\tanh ^{-1}(\cosh (c+d x))}{a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3186
Rule 391
Rule 206
Rule 205
Rubi steps
\begin{align*} \int \frac{\text{csch}(c+d x)}{a+b \sinh ^2(c+d x)} \, dx &=-\frac{\operatorname{Subst}\left (\int \frac{1}{\left (1-x^2\right ) \left (a-b+b x^2\right )} \, dx,x,\cosh (c+d x)\right )}{d}\\ &=-\frac{\operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,\cosh (c+d x)\right )}{a d}-\frac{b \operatorname{Subst}\left (\int \frac{1}{a-b+b x^2} \, dx,x,\cosh (c+d x)\right )}{a d}\\ &=-\frac{\sqrt{b} \tan ^{-1}\left (\frac{\sqrt{b} \cosh (c+d x)}{\sqrt{a-b}}\right )}{a \sqrt{a-b} d}-\frac{\tanh ^{-1}(\cosh (c+d x))}{a d}\\ \end{align*}
Mathematica [C] time = 0.209569, size = 124, normalized size = 2.07 \[ \frac{\sqrt{a-b} \log \left (\tanh \left (\frac{1}{2} (c+d x)\right )\right )-\sqrt{b} \tan ^{-1}\left (\frac{\sqrt{b}-i \sqrt{a} \tanh \left (\frac{1}{2} (c+d x)\right )}{\sqrt{a-b}}\right )-\sqrt{b} \tan ^{-1}\left (\frac{\sqrt{b}+i \sqrt{a} \tanh \left (\frac{1}{2} (c+d x)\right )}{\sqrt{a-b}}\right )}{a d \sqrt{a-b}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.049, size = 74, normalized size = 1.2 \begin{align*}{\frac{1}{da}\ln \left ( \tanh \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) \right ) }-{\frac{b}{da}\arctan \left ({\frac{1}{4} \left ( 2\, \left ( \tanh \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}a-2\,a+4\,b \right ){\frac{1}{\sqrt{ab-{b}^{2}}}}} \right ){\frac{1}{\sqrt{ab-{b}^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{\log \left ({\left (e^{\left (d x + c\right )} + 1\right )} e^{\left (-c\right )}\right )}{a d} + \frac{\log \left ({\left (e^{\left (d x + c\right )} - 1\right )} e^{\left (-c\right )}\right )}{a d} - 2 \, \int \frac{b e^{\left (3 \, d x + 3 \, c\right )} - b e^{\left (d x + c\right )}}{a b e^{\left (4 \, d x + 4 \, c\right )} + a b + 2 \,{\left (2 \, a^{2} e^{\left (2 \, c\right )} - a b e^{\left (2 \, c\right )}\right )} e^{\left (2 \, d x\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.01415, size = 1544, normalized size = 25.73 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{csch}{\left (c + d x \right )}}{a + b \sinh ^{2}{\left (c + d x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]